package com.letian.record.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 记录订单项对象 record_order_item
 * 
 * @author bmz
 * @date 2023-07-20
 */
public class RecordOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单项编码 */
    private Long itemId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderId;

    /** 编号 */
    @Excel(name = "编号")
    private String itemNum;

    /** 价值 */
    @Excel(name = "价值")
    private BigDecimal itemMoney;

    /** 删除标志 */
    private String delFlag;

    /** 更新次数 */
    @Excel(name = "更新次数")
    private Long updateCount;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setItemNum(String itemNum) 
    {
        this.itemNum = itemNum;
    }

    public String getItemNum() 
    {
        return itemNum;
    }
    public void setItemMoney(BigDecimal itemMoney) 
    {
        this.itemMoney = itemMoney;
    }

    public BigDecimal getItemMoney() 
    {
        return itemMoney;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUpdateCount(Long updateCount) 
    {
        this.updateCount = updateCount;
    }

    public Long getUpdateCount() 
    {
        return updateCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("orderId", getOrderId())
            .append("itemNum", getItemNum())
            .append("itemMoney", getItemMoney())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("updateCount", getUpdateCount())
            .append("remark", getRemark())
            .toString();
    }
}
